package com.cqupt.sendMes.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
public class UserDTO implements Serializable {
    //用户名
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String username;

    //密码
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty("密码")
    private String password;

    //WXpusher的UID
    @ApiModelProperty("WXpusher的UID")
    private String userUid;

    //当前页
    @ApiModelProperty("当前页")
    private Integer currentPage = 1;
    //页面大小
    @ApiModelProperty("分页大小")
    private Integer pageSize = 10;
}
